package org.bee.enums;

import org.bee.annotation.EnumsDict;

@EnumsDict(value = "msgType", desc = "消息类型")
public enum MsgType implements IEnum{
    SUCCESS("1", "成功通知"),
    ERROR("2", "失败通知"),
    INFO("3", "信息通知");

    private final String code;
    private final String desc;

    MsgType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
